﻿using System.Windows.Input;
using Jerry.DroidBuilder.Common;

namespace Jerry.DroidBuilder
{
    public class ViewModelBase : NotifyPropertyChangedObject
    {
        public ViewModelBase(
            bool supportBuild = false,
            bool supportDeodex = false,
            bool supportZipAlign = false,
            bool supportTranslate = false)
        {
            SupportBuild = supportBuild;
            SupportDeodex = supportDeodex;
            SupportZipAlign = supportZipAlign;
            SupportTranslate = supportTranslate;
        }

        public ICommand CloseCommand { get; set; }

        public string Name { get; set; }

        public bool SupportBuild { get; private set; }

        public bool SupportDeodex { get; private set; }

        public bool SupportZipAlign { get; private set; }

        public bool SupportTranslate { get; private set; }
    }
}
